package org.jsola.hr.dao;

import org.apache.ibatis.annotations.Param;
import org.jsola.hr.entity.SalaryPlanDO;
import org.jsola.hr.vo.SalaryPlanVO;
import org.jsola.orm.mapper.IJsolaMapper;
import org.springframework.stereotype.Repository;

import java.util.List;


/**
 * @author zhr
 */
@Repository("hrSalaryPlanDAO")
public interface ISalaryPlanDAO extends IJsolaMapper<SalaryPlanDO> {

       SalaryPlanVO  selectSalaryInfoByPrimaryKey(@Param(value = "id") String id,@Param(value = "siteId") String siteId);

       /**
        * 查询计算工资时所需工资方案列表
        * @param siteId 站点id
        * @return 有效方案列表
        */
       List<SalaryPlanVO> selectSalaryInfo(@Param(value = "siteId") String siteId);

}

